﻿@using HelpInfo.GetMsWeb.Resources.Views.Shared;

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title - HelpInfo</title>
    @RenderSection("script_google", required: false)
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("scripts1", required: false)
    <meta name="description" content=@ViewBag.Description />
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    @RenderSection("styles", required: false)
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                @Html.ActionLink("GetMsWeb", "Index", "Home", null, new { @class = "navbar-brand", title ="HelpInfo Home page" })
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="dropdown">
                        <a class="dropdown-toggle" data-toggle="dropdown" href="#">@_Layout.Services <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li class="nav-header">Tables</li>
                            <li><a href="@Url.Action("Index", "Planning")"><span class="glyphicon glyphicon-print"></span> (pdf) @_Layout.Planning </a></li>
                            <li>@Html.ActionLink(_Layout.SortedPlannings, "SortedPlannings", "Planning")</li>
                            <li class="divider"></li>
                            <li><a href="@Url.Action("IndexIndividuel", "Planning")"><span class="glyphicon glyphicon-print"></span> (pdf) @_Layout.IndexIndividuel</a></li>
                            <li>@Html.ActionLink(_Layout.SortedPlannings, "SortedPlannings", "Planning")</li>
                            <li class="divider"></li>
                            <li><a href="@Url.Action("IndexCollectif", "Planning")"><span class="glyphicon glyphicon-print"></span> (pdf) @_Layout.IndexCollectif</a></li>
                            <li>@Html.ActionLink(_Layout.SortedPlannings, "SortedPlannings", "Planning")</li>
                            <li class="divider"></li>
                        </ul>
                    </li>

                    <li>@Html.ActionLink(_Layout.Home, "Index", "Home")</li>
                    <li>@Html.ActionLink(_Layout.About, "About", "Home")</li>
                    <li>@Html.ActionLink(_Layout.Contact, "Contact", "Home")</li>
                    <li>@Html.ActionLink(_Layout.Admin, "Index", "Account")</li>
                    <li><a href="#" onclick="window.print()">@_Layout.Print</a></li>


                </ul>
                @Html.Partial("_LoginPartial")
            </div>
        </div>
    </div>
    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
